package cn.stylefeng.guns.sys.modular.system.mapper;

import cn.stylefeng.guns.sys.modular.system.entity.BtyMdLirunbiao;
import cn.stylefeng.guns.sys.modular.system.model.params.BtyMdCaiwuParam;
import cn.stylefeng.guns.sys.modular.system.model.params.BtyMdLirunbiaoParam;
import cn.stylefeng.guns.sys.modular.system.model.result.BtyMdLirunbiaoResult;
import cn.stylefeng.guns.sys.modular.system.model.result.OrderDataResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 网上建店信息gcg_wsjd Mapper 接口
 * </p>
 *
 * @author jiangge
 * @since 2021-09-08
 */
public interface BtyMdLirunbiaoMapper extends BaseMapper<BtyMdLirunbiao> {

    /**
     * 获取列表
     *
     * @author jiangge
     * @Date 2021-09-08
     */
    List<BtyMdLirunbiaoResult> customList(@Param("paramCondition") BtyMdLirunbiaoParam paramCondition);

    /**
     * 获取map列表
     *
     * @author jiangge
     * @Date 2021-09-08
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") BtyMdLirunbiaoParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author jiangge
     * @Date 2021-09-08
     */
    Page<BtyMdLirunbiaoResult> customPageList(@Param("page") Page page, @Param("paramCondition") BtyMdLirunbiaoParam paramCondition);

    /**
     * 获取分页map列表
     *
     * @author jiangge
     * @Date 2021-09-08
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") BtyMdLirunbiaoParam paramCondition);

    List<OrderDataResult> findAllLirunData(@Param("param")BtyMdCaiwuParam param);

    List<OrderDataResult> syfindAllLirunData(@Param("param")BtyMdCaiwuParam param);

    List<OrderDataResult> snfindAllLirunData(@Param("param")BtyMdCaiwuParam param);

    void addList(@Param("list") List<BtyMdLirunbiaoParam> list);

    /**
     * 正规损益表
     * @param param
     * @return
     */
    List<OrderDataResult> findAllLirunzgData(@Param("param") BtyMdCaiwuParam param);
}
